package com.hyperfix.washer.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyperfix.models.common.R;
import com.hyperfix.models.washer.dtos.StationDTO;
import com.hyperfix.models.washer.pojos.Pipeline;
import com.hyperfix.models.washer.pojos.Station;
import com.hyperfix.models.washer.vos.StationQueryVO;
import com.hyperfix.models.washer.vos.StationVO;

import java.util.List;

/**
 * @author JiangChunYu
 * 2024/4/21
 */
public interface StationService extends IService<Station> {
    R<IPage<StationDTO>> list(Integer pageNum, Integer size, StationQueryVO stationQueryVO);

    R<String> updateStation(StationVO stationVO);

    R<List<Pipeline>> listStation(Integer stationId);
}
